<%@ page contentType="application/json;charset=UTF-8"%>
<%@ page import="org.apache.commons.lang.StringEscapeUtils" %>
<%
	Throwable t = (Exception)request.getAttribute("exception");
	String msg = t.getMessage();
	response.setStatus(900); //设置一个非成功的状态，ext ajax才能捕捉异常
%>
{
	"errorType":"app",
	"errorMsg":"<%=StringEscapeUtils.escapeJavaScript(msg) %>"
}